import api from './index'

// 技师相关接口
export default {
  // 技师列表
  fetchTechnicianList: (params) => api.get('/system/store/appletTechnicianList', params),
  // 技师详情
  fetchTechnicianDetail: (id) => api.get('/system/technician/' + id),
  // 技师评价
  fetchTechnicianInfo: (params) => api.get('/system/technician/evaluate/appletTechnicianInfo', params),
  queryEvaluateByTechnicianId: (params) => api.get('/system/technician/evaluate/queryEvaluateByTechnicianId', params),
  
  // 根据项目查询技师
  fetchTechnicianByPro: (params) => api.get('/system/item/technician/appletList', params),
  // 根据项目查询技师评分
  fetchTechnicianScore: (params) => api.get('/system/technician/evaluate/appGetTechnicianEvaluate',params),
  // 获取技师预约时间
  fetchTechnicianTime: (params) => api.get('/system/technician/getSubscribeDetail', params),
  // 获取技师需要等待的时间
  fetchTechnicianStartTime: (params) => api.post('/system/item/technician/getsubscribeStartTime', params),
  // 根据技师获取项目
  fetchProject: (params) => api.get('/system/item/store/technician/appList', params),
  
}